<!---总览页面真实内容-->
<template>
  <div class="ele-body">
    <a-tabs default-active-key="1" @change="callbackActivityTab">
      <a-tab-pane key="1" tab="数据监控">
        <device-drinkhearting-monitor :data="data" />
      </a-tab-pane>
      <a-tab-pane key="2" tab="历史数据">
        <device-drinkhearting-data :data="data" />
      </a-tab-pane>
      <a-tab-pane key="3" tab="实时数据报表">
        <device-drinkhearting-data-diff  :data="data" />
      </a-tab-pane>
      <a-tab-pane key="4" tab="每日饮水量统计">
        <device-drinkhearting-every-data :data="data" />
      </a-tab-pane>
      <a-tab-pane key="5" tab="每小时饮水量统计">
        <device-drinkhearting-hour-data :data="data" />
      </a-tab-pane>
      <a-tab-pane key="6" tab="每小时饮水量报表">
        <device-drinkhearting-hourdata-diff :data="data" />
      </a-tab-pane>
      <a-tab-pane key="7" tab="每五分钟饮水量报表">
        <device-drinkhearting-fivemin-data :data="data" />
      </a-tab-pane>
      <a-tab-pane key="8" tab="告警数据">
        <device-drinkhearting-alarm  :data="data" />
      </a-tab-pane>
      <a-tab-pane key="9" tab="全局控制">
        <device-drinkhearting-config-switch :data="data" />
      </a-tab-pane>
      <a-tab-pane key="10" tab="参数设置">
        <device-drinkhearting-config-modeconfig :data="data" />
      </a-tab-pane>
      <a-tab-pane key="11" tab="其他设置">
        <device-drinkhearting-config-other :data="data" />
      </a-tab-pane>
      <a-tab-pane key="12" tab="推送情况">
        <device-drinkhearting-config-queue :data="data" />
      </a-tab-pane>
      <a-tab-pane key="13" tab="固件升级">
        <device-drinkhearting-firmware-upgrade :data="data" />
      </a-tab-pane>
      <a-tab-pane key="14" tab="维修检测配置">
        <device-drinkhearting-setting :data="data" />
      </a-tab-pane>

    </a-tabs>
  </div>
</template>

<script>
import DeviceDrinkheartingMonitor from './drinkhearting-monitor.vue'
import DeviceDrinkheartingData from './drinkhearting-data.vue'
import DeviceDrinkheartingAlarm from './drinkhearting-alarm.vue'
import DeviceDrinkheartingConfigQueue from './drinkhearting-config-queue.vue'
import DeviceDrinkheartingConfigOther from './drinkhearting-config-other.vue'
import DeviceDrinkheartingConfigSwitch from './drinkhearting-config-switch.vue'
import DeviceDrinkheartingConfigModeconfig from './drinkhearting-config-modeconfig.vue'
import DeviceDrinkheartingFirmwareUpgrade from './drinkhearting-firmware-upgrade.vue'
import DeviceDrinkheartingDataDiff from './drinkhearting-data-diff.vue'
import DeviceDrinkheartingEveryData from './drinkhearting-every-data.vue'
import DeviceDrinkheartingHourData from './drinkhearting-hour-data.vue'
import DeviceDrinkheartingHourdataDiff from './drinkhearting-hourdata-diff.vue'
import DeviceDrinkheartingSetting from './drinkhearting-setting.vue'
import DeviceDrinkheartingFiveminData from './drinkhearting-fivemin-data.vue'
export default {
  name: 'DeviceDrinkhearting',
  components: {
    DeviceDrinkheartingMonitor,
    DeviceDrinkheartingData,
    DeviceDrinkheartingAlarm,
    DeviceDrinkheartingConfigQueue,
    DeviceDrinkheartingConfigOther,
    DeviceDrinkheartingConfigSwitch,
    DeviceDrinkheartingConfigModeconfig,
    DeviceDrinkheartingFirmwareUpgrade,
    DeviceDrinkheartingDataDiff,
    DeviceDrinkheartingEveryData,
    DeviceDrinkheartingHourData,
    DeviceDrinkheartingHourdataDiff,
    DeviceDrinkheartingSetting,
    DeviceDrinkheartingFiveminData
  },
  props: {
    data: Object
  },
  data() {
    return {


    };
  },
  methods: {
    callbackActivityTab (index) {
      console.log(index)
    },
  }
};
</script>
